package buildinjava;

/**
 * Indicates that that build has failed in an expected manner.
 *
 * @author Gili Tzabari
 */
public final class BuildException extends RuntimeException
{
	private static final long serialVersionUID = 0L;

	/**
	 * Creates a new BuildException.
	 *
	 * @param cause the underlying cause
	 */
	public BuildException(final Throwable cause)
	{
		super(cause);
	}

	/**
	 * Creates a new BuildException.
	 *
	 * @param cause the underlying cause
	 * @param message the detail message
	 */
	public BuildException(final String message, final Throwable cause)
	{
		super(message, cause);
	}

	/**
	 * Creates a new BuildException.
	 *
	 * @param message the detail message
	 */
	public BuildException(final String message)
	{
		super(message);
	}

	/**
	 * Creates a new BuildException.
	 */
	public BuildException()
	{
		super();
	}
}
